package io.scnb.lesson003.demo1.test0.userregister;

import io.scnb.lesson003.demo1.test0.event.AbstractEvent;

public class UserRegisterSuccessEvent extends AbstractEvent {
    
    private String username;

    // 创建 用户注册成功 这一事件
    public UserRegisterSuccessEvent(Object source, String username) {
        super(source);
        this.username = username;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
